{extend name="index/base" /}

{block name="menu"}
<div class="tpl-content-wrapper">
    <div class="tpl-content-page-title">
        商家信息
    </div>
    <ol class="am-breadcrumb">
        <li><a href="#" class="am-icon-home">首页</a></li>
        <li><a href="#">表单</a></li>
        <li class="am-active">商家信息</li>
    </ol>
    <div class="tpl-portlet-components">
        <div class="portlet-title">
            <div class="caption font-green bold">
                <span class="am-icon-code"></span> 商家
            </div>
            <div class="tpl-portlet-input tpl-fz-ml">
                <div class="portlet-input input-small input-inline">
                    <div class="input-icon right">

                </div>
            </div>

        </div>
        <div class="tpl-block ">

            <div class="am-g tpl-amazeui-form">


                <div class="am-u-sm-12 am-u-md-9">
                    <form class="am-form am-form-horizontal" enctype="multipart/form-data" method="post" action="/index/doedit">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">商家名</label>
                            <div class="am-u-sm-9">
                                <input type="text" name="name" id="user-name" placeholder="姓名 / Name" value="{$list.name}">
                                <input type="hidden" name="id" value="{$list.id}">
                                <small>输入商家名称</small>
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-email" class="am-u-sm-3 am-form-label">站点名 </label>
                            <div class="am-u-sm-9">
                                <input type="text" name="site" id="user-email" placeholder="输入站点"  value="{$list.site}">
                                <small>站点你懂得...</small>
                            </div>

                        </div>
                        <div class="am-form-group">
                            <label for="user-phone" class="am-u-sm-3 am-form-label">域名</label>
                            <div class="am-u-sm-9">
                                <input type="tel" name="dns" id="user-phone" placeholder="输入域名" value="{$list.dns}">
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-QQ" class="am-u-sm-3 am-form-label">有效时间</label>
                            <div class="am-u-sm-9">
                                <input type="number" name="ptime" pattern="[0-9]*" id="user-QQ" placeholder="更改有效时间" value="{$list.ptime}">
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-weibo" class="am-u-sm-3 am-form-label">IP地址</label>
                            <div class="am-u-sm-9">
                                <input type="text" name="ip" id="user-weibo" placeholder="IP地址" value="{$list.ip}">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <button type="submit" class="am-btn am-btn-primary">保存修改</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>

    </div>

</div>
{/block}